package com.ruoyi.finance.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 默认账套对象 default_account_set
 * 
 * @author 李伟
 * @date 2025-02-24
 */
public class DefaultAccountSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 默认账套id */
    @Excel(name = "默认账套id")
    private Long accountSetId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setAccountSetId(Long accountSetId) 
    {
        this.accountSetId = accountSetId;
    }

    public Long getAccountSetId() 
    {
        return accountSetId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("accountSetId", getAccountSetId())
            .toString();
    }
}
